<?php

namespace common\apidoc;

use hg\apidoc\annotation as Apidoc;

class Definitions
{
    #[Apidoc\Query("page", type: "int", default: 1, desc: "页码")]
    #[Apidoc\Query("limit", type: "int", default: 10, desc: "每页数量")]
    public function pagingQueryParam()
    {
    }

    #[Apidoc\Returned("page", type: "int", desc: "页码")]
    #[Apidoc\Returned("limit", type: "int", desc: "每页数量")]
    #[Apidoc\Returned("count", type: "int", desc: "总条数")]
    public function pagingReturnParam()
    {
    }
}